package com.wuliu.model;

import lombok.Data;

@Data
public class User {
    private Integer id;
    private String account;
    private String password;
    private String name;
    private String gender;
    private boolean admin;

    public User(Integer id, String account, String password, String name, String gender) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.gender = gender;
    }

    public User(Integer id, String account, String password, String name, String gender, boolean admin) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.gender = gender;
        this.admin = admin;
    }
}
